<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>getColorMap :: Functions (k-Wave)</title>
	<link rel="stylesheet" href="kwavehelpstyle.css" type="text/css">
</head>

<body>
<div class="content">

<h1>getColorMap</h1>
<p class="purpose">Return default k-Wave color map.</p>

<h2>Syntax</h2>

<pre class="codeinput">
cm = getColorMap()
cm = getColorMap(num_colors)
</pre>

<h2>Description</h2>
<p><code>getColorMap</code> returns the default color map used for display and visualisation across the k-Wave Toolbox. Zero values are displayed as white, positive values are displayed as yellow through red to black, and negative values are displayed as light to dark blue-greys. If no value for <code>num_colors</code> is provided, <code>cm</code> will have 256 colors.</p>

<img vspace="5" hspace="5" src="images/getColorMap_01.png" style="width:561px;height:70px;" alt="">

</div></body></html>